#ifndef UPDATEBUTTONLISTENER_H_
#define UPDATEBUTTONLISTENER_H_

#include "../../SDLtoolkit/Listener.h"

#include "../../SDLtoolkit/widgets/Textbox.h"
#include "../../SDLtoolkit/widgets/ScenarioPanel.h"
#include "../../persistencia/Persistor.h"
#include "../../common/utils/FileChecker.h"

class UpdateButtonListener: public Listener {
public:
	UpdateButtonListener(Textbox* textbox, ScenarioPanel* panel);
	virtual ~UpdateButtonListener();
	void execute();

private:
	Textbox* textbox;
	ScenarioPanel* panel;
};

#endif /* UPDATEBUTTONLISTENER_H_ */
